macro detailed